// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store/store';

import VuePreview from 'vue-preview';

import 'normalize.css';
import './assets/css/common.css';
import '@/assets/less/style.less';

Vue.use(VuePreview,{
  // mainClass: 'pswp--minimal--dark',
  // barsSize: {top: 0, bottom: 0},
  // bgOpacity: 0.85,
  fullscreenEl: false,
  captionEl: false,
  shareEl: false,
  tapToClose: true,
  tapToToggleControls: false
});


// import ComVue from '@/components/common/comVue/comVue.vue';
import TabHome from '@/components/common/tabHome/tabHome.vue';
import TabPos from '@/components/common/tabPos/tabPos.vue';
import Item from '@/components/common/item/item.vue';

Vue.component('comVue', () => import('@/components/common/comVue/comVue.vue'));
Vue.component('tabHome', TabHome);
Vue.component('tabPos', TabPos);
Vue.component('item', Item);



Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
});
